//
//  GMBuyWebView.m
//  Teecloud
//
//  Created by 小熊 on 2018/10/25.
//  Copyright © 2018年 小志. All rights reserved.
//

#import "GMBuyWebView.h"
#import "MyWKWebView.h"
@interface GMBuyWebView ()
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet XHStarRateView *starView;
@property (weak, nonatomic) IBOutlet UILabel *desLab;


@end
@implementation GMBuyWebView

- (void)awakeFromNib {
    [super awakeFromNib];
}
-(void)setModel:(GMCommentBaseModel *)model{
    _model = model;
    self.name.text = model.Name;
    self.starView.currentRating = model.AvgScore/2;
    self.desLab.text = model.FromName;
}
@end
